package cn.lx;

/**
 * @author lixin
 * @Classname Client
 * @Description TODO
 * @Date 2019/10/7 下午3:36
 */
public class Client {
    public static void main(String[] args) {
        Component component = new ConcreteComponent();
         component = new ConcreteDecorator1(component);

        component = new ConcreteDecorator2(component);

        component.operate();
    }
}
